package Demo2;

/**
 * Created with Interllij IDEA.
 * Descriptiption:接口的继承
 * User: 王澄慧
 * Date: 2022-04-09
 * Time: 20:13
 */
interface S{
    void funS();
}
interface B{
    void funB();
}
interface C extends S,B{
    void funC();
}
abstract class FUN implements C{

    @Override
    public void funS() {

    }

  /*  @Override
    public void funB() {

    }

    @Override
    public void funC() {

    }*/
    class BB extends FUN{

      @Override
      public void funB() {

      }

      @Override
      public void funC() {

      }
  }
}
public class test2 {
}
